-
Home
-
Nginx Helper
-
2.3.3 (latest)
-
Code
-
Classes
- HashRing
Total Complexity |
30 |
Dependencies |
1 |
Dependents |
1 |
Total lines |
247 |
Lines of code |
111 |
Logical lines of code |
60 |
Comment lines |
76 |
Methods |
16 |
Properties |
6 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
getSlot() |
S |
56 |
4 |
18 |
initialize() |
S |
56 |
4 |
18 |
remove() |
S |
64 |
3 |
9 |
add() |
S |
68 |
2 |
7 |
computeTotalWeight() |
S |
69 |
2 |
7 |
addNodeToRing() |
S |
64 |
2 |
9 |
getNodeHash() |
S |
71 |
2 |
6 |
getBySlot() |
S |
71 |
2 |
6 |
wrapAroundStrategy() |
S |
78 |
2 |
3 |
__construct() |
S |
77 |
1 |
4 |
reset() |
S |
71 |
1 |
7 |
isInitialized() |
S |
80 |
1 |
3 |
hash() |
S |
80 |
1 |
3 |
getByHash() |
S |
79 |
1 |
3 |
get() |
S |
73 |
1 |
5 |
getHashGenerator() |
S |
82 |
1 |
3 |